<?php
namespace App\Constants\Chat;

use Hyperf\Constants\AbstractConstants;
use Hyperf\Constants\Annotation\Constants;

/**
* Class Chat
*/
class Chat extends AbstractConstants

{
    /**
     * 群消息类型枚举
     */
    const CHAT_MESSAGE_TYPE_TEXT = 1;
    const CHAT_MESSAGE_TYPE_IMAGE = 2;
    const CHAT_MESSAGE_TYPE_FILE = 3;
    const CHAT_MESSAGE_TYPE_VOICE = 4;
    const CHAT_MESSAGE_TYPE_RED = 5;
    const CHAT_MESSAGE_TYPE_POSITION = 6;
    const CHAT_MESSAGE_TYPE_EVENT = 7;
    const CHAT_MESSAGE_TYPE_FORWARD = 7;


    const CHAT_TYPE_USER = 0;
    const CHAT_TYPE_SYSTEM = 1;
}
